﻿using AutoMapper;
using PersonnelManagement.Domain.Dto;
using PersonnelManagement.Domain.PersonnelDomain;

namespace PersonnelManagement.Dtos
{
    public class AreaProFile: Profile
    {
        public AreaProFile()
        {
            //人员档案添加
            CreateMap<Manpower, AddManpowerDto>().ReverseMap();
            //客户分类
            CreateMap<Clientcategory, ClientCategoryDto>().ReverseMap();
            //客户添加
            CreateMap<Client, ClientAddDto>().ReverseMap();
            //客户显示
            CreateMap<Client, ClientShowDto>().ReverseMap();
        }

    }
}
